import request from "@/utils/request";
//手机号登录
export function userLogin(userInfo) {
  return request({
    url: `/api/user/login`,
    method: "post",
    data: userInfo,
  });
}
//用户认证
export function saveUserAuth(userAuth) {
  return request({
    url: `/api/user/auth/userAuth`,
    method: "post",
    data: userAuth,
  });
}
//获取用户信息
export function getUserInfo() {
  return request({
    url: `/api/user/auth/getUserInfo`,
    method: "get"
  });
}